mmc: dw_mmc: transfer proper bytes to FIFO
authorXu Ziyuan <[email protected]>
Thu, 28 Jul 2016 02:25:47 +0000 (10:25 +0800)
committerJaehoon Chung <[email protected]>
Fri, 5 Aug 2016 05:04:31 +0000 (14:04 +0900)
commit2990e07a33159b1c23325c2c789cdb3f9ab4d89c
treebe87b57526b8da5d08e9ebae7e0212440b134f59
parent14bed52d276afd36b9674ee7aa2c2ad9d2f4e59e
mmc: dw_mmc: transfer proper bytes to FIFO

The former implement, dw_mmc will push and pop the redundant data to
FIFO, we should transfer it according to the real size.

Signed-off-by: Ziyuan Xu <[email protected]>
Acked-by: Jaehoon Chung <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Shawn Lin <[email protected]>
Signed-off-by: Jaehoon Chung <[email protected]>
drivers/mmc/dw_mmc.c